package com.wonghiu.framework.serialize.compress;

import com.wonghiu.framework.common.extention.SPI;

/**
 * @Author wonghiu
 * @Date 2021/8/10 21:38
 * @Version 1.0.1
 */
@SPI
public interface Compress {

    byte[] compress(byte[] bytes);


    byte[] decompress(byte[] bytes);
}
